package com.briup.sms.service;

import com.briup.sms.entity.Admin;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * @Author :xuyang
 * @DateTime:2024/1/10 11:14
 * @Version :v1.0.0
 * ClassName:AdminService
 * Package  :com.briup.sms.service
 * Description:TODO
 */
public interface AdminService {
    Map login(Admin admin);

    Admin getInfo(String token);

    PageInfo<Admin> getPageUser(String username, Boolean stats, Integer pageSize, Integer pageNum);

    void saveUser(Admin admin);
}
